package com.example.demo1.repository;

import com.example.demo1.Entity.AdminCourse;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface AdminCourseRepository extends JpaRepository<AdminCourse,Long > {
    //@Override
    Optional<AdminCourse> findByCoursename(String coursename);
}
